package org.person.gift.service;

import org.person.gift.domain.OrderGift;
import com.baomidou.mybatisplus.service.IService;
import org.person.gift.dto.PlaceOrderDTO;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author stark
 * @since 2024-02-22
 */
public interface IOrderGiftService extends IService<OrderGift> {

    void placeOrder(PlaceOrderDTO dto);

    void placeOrderExecuteLocalTransaction(PlaceOrderDTO dto);

    Boolean placeOrderCheckLocalTransaction(PlaceOrderDTO dto);

    void cancelOrder(String parentOrderNo);
}
